package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.param.UserParm;
import com.mmall.pojo.SysUser;

import java.util.List;

/**
 * @Author wangtengyu
 * @Create 2018-03-10-9:44
 */
public interface ISysUserService {
    void save(UserParm userParm);

    void update(UserParm userParm);

    SysUser findBykeyword(String username);

    PageInfo<SysUser> getUserList(int deptId, int pageNum, int pageSize);

    List<SysUser> getAll();

    void delete(int userId);
}
